<?php
$this->breadcrumbs=array(
	Yii::t('base','Agent people')=>array('admin'),
	$model->name,
);

$this->menu=array(
	array('label'=>'List AgentPerson', 'url'=>array('index')),
	array('label'=>'Create AgentPerson', 'url'=>array('create')),
	array('label'=>'Update AgentPerson', 'url'=>array('update', 'id'=>$model->agent_person_id)),
	array('label'=>'Delete AgentPerson', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->agent_person_id),'confirm'=>'Are you sure you want to delete this item?')),
	array('label'=>'Manage AgentPerson', 'url'=>array('admin')),
);
?>

<h1><?php echo Yii::t('base','Agent people');?> #<?php echo $model->name; ?></h1>

<?php $this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
		//'agent_person_id',
		'name',
		array('name'=>Yii::t('base','Password'),'value'=>User::model()->find('user_id='.$model->user_id)->password),
		'agent_number',
		'company_number',
		'telephone',
		'email',
		// 'user_id',
	),
)); ?>
